package mrh.niubi.librarysystem.service;
import mrh.niubi.librarysystem.pojo.Avatar;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.util.List;



public interface AvatarService {

    String upload(MultipartFile uploadFile);
    //根据文件名下载文件
    void download(String url, HttpServletResponse response);

    int delete(String url);

    int add(String url);


}
